--[[
VHeWS example of a simple sensor registry service as concept test.

This Code is part of the graduation project of Pedro Bittencourt e Silva,
VHeWS.
Developed to be used with Kepler running on Xavante (not tested in Apache)

@author Pedro Bittencourt
--]]
local file = io.open("sensor.dis","w")
s = ""
for k,v in pairs(cgilua.QUERY) do
	s=s..k.."="..v.."\n"
end
file:write(s)
file:close()